package com.ny.repository;

import com.ny.entity.DeviceNew;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

// 继承后自动拥有findAll()查询所有方法
@Repository
public interface DeviceNewRepository extends MongoRepository<DeviceNew, String> {
}